package com.ihrm.system.mapper;

import com.ihrm.domain.system.PermissionMenu;
import com.ihrm.domain.system.PermissionMenuExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author chentao
 */
@Mapper
@Repository
public interface PermissionMenuMapper {
    int countByExample(PermissionMenuExample example);

    int deleteByExample(PermissionMenuExample example);

    int deleteByPrimaryKey(String id);

    int insert(PermissionMenu record);

    int insertSelective(PermissionMenu record);

    List<PermissionMenu> selectByExample(PermissionMenuExample example);

    PermissionMenu selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PermissionMenu record, @Param("example") PermissionMenuExample example);

    int updateByExample(@Param("record") PermissionMenu record, @Param("example") PermissionMenuExample example);

    int updateByPrimaryKeySelective(PermissionMenu record);

    int updateByPrimaryKey(PermissionMenu record);
}